@model Campus.Entities.Grupo

@{
    ViewBag.Title = "Crear Nuevo Grupo";
}

@section Header{
<script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/bootstrap.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/master-detail.table.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Grupo.js")" type="text/javascript"></script>

}


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset class="form-horizontal">
        <legend>Grupo</legend>

		@Html.Partial("_CreateOrEdit", Model)
      
    </fieldset>
      <div class="form-search well">   
        <div class="form-group">
            <input type="submit" class="btn btn-primary" value="Crear" />
            @Html.ActionLink("Volver a la lista", "Index", new { id = ViewBag.IndexGrupoElegido},new { @class = "btn" })
        </div>
    </div>
}
<div>
    @Html.ActionLink("Volver a la lista", "Index", new { id = ViewBag.IndexGrupoElegido},new { @class = "btn" })
</div>


